package com.example.cwproject.service;


import com.example.cwproject.entity.User;

public interface UserService {

//    void insertUser(User user);

    void updateUser(User user);

    String login(User user);

    User register(User user);

    void modifyPassword(String password, String email);

    void uploadAvatar(String fileName, String email);

    User findByEmail(String email);
}

